home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / games / mutnt121.zip / MUTEDIT.WCX (.txt) < prev    next >
Wildcat! WCX  |  1996-06-17  |  32KB  |  2,037 lines

  1. '! Decompiled with wccNosy version 4.20f (freeware)
  2. '! Input File: in.wcx  31583 bytes  11/17/122  02:22:48am
  3. '! Code Segment Size  :20657 bytes
  4. '! Data Segment Size  :6016 bytes
  5. '! String Segment Size:10926 bytes
  6. '! Compiled with WCC version ? 019C017B
  7.  
  8.       Type Type29
  9.         i0 As Integer
  10.         i2 As Integer
  11.         i4 As Integer
  12.         i6 As Integer
  13.       End Type
  14.  
  15.       Type Type28
  16.         s0 As String*30
  17.         s30 As String*18
  18.         s48 As String*3
  19.         l51 As Long
  20.         s55 As String*1
  21.         i56 As Integer
  22.         i58 As Integer
  23.         i60 As Integer
  24.         Filler62(1 To 32) As Byte
  25.         i94 As Integer
  26.         i96 As Integer
  27.         l98 As Long
  28.         l102 As Long
  29.         b106 As Byte
  30.         i107 As Integer
  31.         b109 As Byte
  32.         s110 As String*15
  33.         b125 As Byte
  34.         b126 As Byte
  35.         b127 As Byte
  36.         b128 As Byte
  37.         s129 As String*1
  38.         s130 As String*20
  39.         s150 As String*20
  40.         s170 As String*20
  41.         b190 As Byte
  42.         s191 As String*30
  43.         b221 As Byte
  44.         b222 As Byte
  45.         b223 As Byte
  46.         b224 As Byte
  47.         b225 As Byte
  48.         b226 As Byte
  49.         b227 As Byte
  50.         b228 As Byte
  51.         b229 As Byte
  52.         b230 As Byte
  53.         b231 As Byte
  54.         b232 As Byte
  55.         s233 As String*1
  56.         b234 As Byte
  57.         o235 As Boolean
  58.         Filler236(1 To 1) As Byte
  59.         b237 As Byte
  60.         b238 As Byte
  61.         b239 As Byte
  62.         Filler240(1 To 1) As Byte
  63.         o241 As Boolean
  64.         o242 As Boolean
  65.         b243 As Byte
  66.         b244 As Byte
  67.         b245 As Byte
  68.         o246 As Boolean
  69.         b247 As Byte
  70.         b248 As Byte
  71.         b249 As Byte
  72.         b250 As Byte
  73.         Filler251(1 To 2) As Byte
  74.         o253 As Boolean
  75.         Filler254(1 To 1) As Byte
  76.         o255 As Boolean
  77.         b256 As Byte
  78.         b257 As Byte
  79.         b258 As Byte
  80.         b259 As Byte
  81.         Filler260(1 To 46) As Byte
  82.         b306 As Byte
  83.         Filler307(1 To 3) As Byte
  84.         t29_310 As Type29
  85.       End Type
  86.  
  87.       Type Type27
  88.         Filler0(1 To 30) As Byte
  89.         s30 As String*18
  90.         Filler48(1 To 142) As Byte
  91.         b190 As Byte
  92.         s191 As String*30
  93.         Filler221(1 To 25) As Byte
  94.         b246 As Byte
  95.       End Type
  96.  
  97.       Type Type26
  98.         b0 As Byte
  99.         s1 As String*20
  100.         s21 As String*8
  101.         s29 As String*18
  102.         s47 As String*18
  103.         s65 As String*18
  104.         s83 As String*18
  105.         Filler101(1 To 18) As Byte
  106.         l119 As Long
  107.         Filler123(1 To 20) As Byte
  108.         i143(1 To 10) As Integer
  109.       End Type
  110.  
  111. '!      Declare Sub Sub2128
  112.       Declare Sub Sub2288
  113.       Declare Sub Sub2492
  114.       Declare Sub Sub2616
  115.       Declare Sub Sub12922
  116.       Declare Sub Sub13011
  117.       Declare Sub Sub19441
  118.       Declare Sub Sub19500
  119.       Declare Sub Sub19818
  120.       Declare Sub Sub20010
  121.       Declare Function Func20089(s65534 As String) As String
  122.       Declare Function Func20409(s65534 As String, s65532 As String) As Boolean
  123.       Declare Sub Sub20543
  124.       Declare Sub Sub20600
  125.  
  126.       Dim s4463 As String*4
  127.       Dim i4467 As Integer
  128.       Dim s4469 As String
  129.       Dim s4473 As String
  130.       Dim s4477 As String
  131.       Dim s4481 As String
  132.       Dim s4485 As String
  133.       Dim s4489 As String
  134.       Dim s4493 As String
  135.       Dim s4497 As String
  136.       Dim s4501 As String
  137.       Dim s4505 As String
  138.       Dim s4509 As String
  139.       Dim s4513 As String
  140.       Dim s4517 As String
  141.       Dim s4521 As String
  142.       Dim t28_4525 As Type28
  143.       Dim t27_4871 As Type27
  144.       Dim t26_5398 As Type26
  145.       Dim s5791 As String
  146.       Dim s5795 As String
  147.       Dim b5799 As Byte
  148.       Dim b5800 As Byte
  149.       Dim i5801 As Integer
  150.       Dim b5803 As Byte
  151.       Dim s5804 As String
  152.       Dim s5808 As String
  153.       Dim b5812 As Byte
  154.       Dim o5813 As Boolean
  155.       Dim s5814 As String*25
  156.       Dim s5839 As String*18
  157.       Dim s5857 As String*1
  158.       Dim i5858 As Integer
  159.       Dim i5860 As Integer
  160.       Dim s5862 As String
  161.       Dim b5866 As Byte
  162.       Dim b5867 As Byte
  163.       Dim b5882 As Byte
  164.       Dim s5884 As String
  165.       Dim s5888 As String
  166.       Dim s5892 As String
  167.       Dim s5896 As String
  168.       Dim b5901 As Byte
  169.       Dim s5902 As String
  170.       Dim b5906 As Byte
  171.       Dim b5907 As Byte
  172.       Dim i5908 As Integer
  173.       Dim i5910 As Integer
  174.       Dim i5912 As Integer
  175.       Dim s5914 As String
  176.       Dim s5918 As String
  177.       Dim s5992 As String
  178.       Dim s5996 As String
  179.       Dim i6000 As Integer
  180.       Dim b6002 As Byte
  181.       Dim b6003 As Byte
  182.       Dim s6004 As String*1
  183.       Dim s6005 As String*1
  184.       Dim b6006 As Byte
  185.       Dim b6007 As Byte
  186.       Dim b6008 As Byte
  187.       Dim b6009 As Byte
  188.       Dim b6010 As Byte
  189.       Dim s6011 As String
  190.       Dim o6015 As Boolean
  191.  
  192.       i4467 = Int(Rnd(1) * 2)
  193.       If i4467 = 0 Then
  194.         s4463 = "@02@"
  195.       Else
  196.    94   s4463 = "@05@"
  197.       End If
  198.   105 s4469 = s4463 + "MUTANTS@07@ - v1.2"
  199.       s4473 = "@07@(C) Copyright 1996 @0F@S@09@apphire @0F@S@09@oftware"
  200.       s4477 = s4463 + "Author:@07@ Scott J. Bradbury"
  201.       s4481 = "@07@Released on June 15, 1996"
  202.       s4485 = "Support BBS:  " + s4463 + "The Coral Reef@07@ ■ (517) 894-0729"
  203.       s4489 = ProgPath + "\disp\"
  204.       s4493 = ProgPath + "\mail\"
  205.       s4497 = ProgPath + "\scores\"
  206.       s5892 = Tab(5)
  207.       s5896 = Tab(10)
  208.       Sub19500
  209.       If UCase(User.Name) = UCase(MakeWild.SysopName) Then
  210.         b5882 = - 1
  211.       Else
  212.   296   If UCase(User.Name) = "SCOTT BRADBURY" Then
  213.           b5882 = - 1
  214.         Else
  215.   337     If UCase(User.Name) = UCase(s5808) Then
  216.             b5882 = - 1
  217.           Else
  218.   380       b5882 = 0
  219.             Open ProgPath + "error.log" For Append As 7
  220.             Print #7, UCase(User.Name) + " tried to use the Mutants Editor."
  221.             Close 7
  222.             Cls 
  223.             Print
  224.             Print "@0C@Security Error"
  225.             Print
  226.             Print "@07@You do not have access to this utility."
  227.             Print "Your attempt to enter has been recorded."
  228.             Delay 4
  229.             End 
  230.           End If
  231.         End If
  232.       End If
  233.   484 b6002 = Len(MakeWild.SysopName)
  234.       b6008 = InStr(1, MakeWild.SysopName, " ")
  235.       s6011 = Left(MakeWild.SysopName, b6008 - 1)
  236.       b6003 = Len(s6011)
  237.       s6004 = UCase(Left(MakeWild.SysopName, 1))
  238.       s6005 = UCase(Mid(MakeWild.SysopName, 2, 1))
  239.       If s6004 = "S" Or s6004 = "T" Then
  240.         b6009 = 7
  241.       Else
  242.   662   If s6004 = "U" Or s6004 = "V" Then
  243.           b6009 = 8
  244.         Else
  245.   709     If s6004 = "W" Or s6004 = "X" Then
  246.             b6009 = 9
  247.           Else
  248.   756       If s6004 = "Y" Or s6004 = "Z" Then
  249.               b6009 = 10
  250.             Else
  251.   803         If s6004 = "A" Or s6004 = "B" Then
  252.                 b6009 = 11
  253.               Else
  254.   850           If s6004 = "C" Or s6004 = "D" Then
  255.                   b6009 = 12
  256.                 Else
  257.   897             If s6004 = "E" Or s6004 = "F" Then
  258.                     b6009 = 13
  259.                   Else
  260.   944               If s6004 = "G" Or s6004 = "H" Then
  261.                       b6009 = 14
  262.                     Else
  263.   991                 If s6004 = "H" Or s6004 = "I" Then
  264.                         b6009 = 1
  265.                       Else
  266.  1038                   If s6004 = "J" Or s6004 = "K" Then
  267.                           b6009 = 2
  268.                         Else
  269.  1085                     If s6004 = "L" Or s6004 = "M" Then
  270.                             b6009 = 3
  271.                           Else
  272.  1132                       If s6004 = "N" Or s6004 = "O" Then
  273.                               b6009 = 4
  274.                             Else
  275.  1179                         If s6004 = "P" Or s6004 = "Q" Then
  276.                                 b6009 = 5
  277.                               Else
  278.  1226                           If s6004 = "R" Then
  279.                                   b6009 = 6
  280.                                 End If
  281.                               End If
  282.                             End If
  283.                           End If
  284.                         End If
  285.                       End If
  286.                     End If
  287.                   End If
  288.                 End If
  289.               End If
  290.             End If
  291.           End If
  292.         End If
  293.       End If
  294.  1252 If s6005 = "S" Or s6005 = "T" Then
  295.         b6010 = 14
  296.       Else
  297.  1299   If s6005 = "U" Or s6005 = "V" Then
  298.           b6010 = 13
  299.         Else
  300.  1346     If s6005 = "W" Or s6005 = "X" Then
  301.             b6010 = 12
  302.           Else
  303.  1393       If s6005 = "Y" Or s6005 = "Z" Then
  304.               b6010 = 11
  305.             Else
  306.  1440         If s6005 = "A" Or s6005 = "B" Then
  307.                 b6010 = 10
  308.               Else
  309.  1487           If s6005 = "C" Or s6005 = "D" Then
  310.                   b6010 = 9
  311.                 Else
  312.  1534             If s6005 = "E" Or s6005 = "F" Then
  313.                     b6010 = 8
  314.                   Else
  315.  1581               If s6005 = "G" Or s6005 = "H" Then
  316.                       b6010 = 7
  317.                     Else
  318.  1628                 If s6005 = "H" Or s6005 = "I" Then
  319.                         b6010 = 6
  320.                       Else
  321.  1675                   If s6005 = "J" Or s6005 = "K" Then
  322.                           b6010 = 5
  323.                         Else
  324.  1722                     If s6005 = "L" Or s6005 = "M" Then
  325.                             b6010 = 4
  326.                           Else
  327.  1769                       If s6005 = "N" Or s6005 = "O" Then
  328.                               b6010 = 3
  329.                             Else
  330.  1816                         If s6005 = "P" Or s6005 = "Q" Then
  331.                                 b6010 = 2
  332.                               Else
  333.  1863                           If s6005 = "R" Then
  334.                                   b6010 = 1
  335.                                 End If
  336.                               End If
  337.                             End If
  338.                           End If
  339.                         End If
  340.                       End If
  341.                     End If
  342.                   End If
  343.                 End If
  344.               End If
  345.             End If
  346.           End If
  347.         End If
  348.       End If
  349.  1889 b6006 = b6002 + b6003
  350.       b6007 = b6003 + b6009 + 12
  351.       s5791 = Str(b6006) + Str(b6009) + Str(b6002) + Str(b6007) + Str(b6010) + Str(b6003)
  352.       MorePrompt(0)
  353.       Sub2616
  354.  
  355. '! Called 0 times
  356. '!      Sub Sub2128
  357. '!        Open ProgPath + "mutants.cfg" For Input As 2
  358. '!        Input #2, s5795
  359. '!        Input #2, b5799
  360. '!        Input #2, b5800
  361. '!        Input #2, i5801
  362. '!        Input #2, b5803
  363. '!        Input #2, s5804
  364. '!        Input #2, s5808
  365. '!        Input #2, b5812
  366. '!        Input #2, s4497
  367. '!        Input #2, s4501
  368. '!        Input #2, s4505
  369. '!        Input #2, s4509
  370. '!        Input #2, s4513
  371. '!        Input #2, s4517
  372. '!        Input #2, s4521
  373. '!        Input #2, o5813
  374. '!        Close 2
  375. '!      End Sub
  376.  
  377. '! Called 1 time
  378.       Sub Sub2288
  379.         If Exists(ProgPath + "gameinfo.cfg") = 0 Then
  380.           s5814 = "New Futura City"
  381.           s5839 = "Xaviana Magnaflux"
  382.           s5857 = "F"
  383.           i5858 = 0
  384.           i5860 = 0
  385.           s5862 = "Mild"
  386.           b5866 = 4
  387.           b5867 = 25
  388.         Else
  389.  2393     Open ProgPath + "gameinfo.cfg" For Input As 1
  390.           Input #1, s5814
  391.           Input #1, s5839
  392.           Input #1, s5857
  393.           Input #1, i5858
  394.           Input #1, i5860
  395.           Input #1, s5862
  396.           Input #1, b5866
  397.           Input #1, b5867
  398.           Close 1
  399.         End If
  400.  2489
  401.       End Sub
  402.  
  403. '! Called 2 times
  404.       Sub Sub2492
  405.         Open ProgPath + "gameinfo.cfg" For Output As 1
  406.         Print #1, s5814
  407.         Print #1, s5839
  408.         Print #1, s5857
  409.         Print #1, i5858
  410.         Print #1, i5860
  411.         Print #1, s5862
  412.         Print #1, b5866
  413.         Print #1, b5867
  414.         Close 1
  415.       End Sub
  416.  
  417. '! Called 1 time
  418.       Sub Sub2616
  419.         Dim l65446 As Long
  420.         Dim i65450 As Integer
  421.         Dim l65452 As Long
  422.         Dim i65456 As Integer
  423.         Dim l65458 As Long
  424.         Dim i65462 As Integer
  425.         Dim l65464 As Long
  426.         Dim i65468 As Integer
  427.         Dim l65470 As Long
  428.         Dim i65474 As Integer
  429.         Dim l65476 As Long
  430.         Dim i65480 As Integer
  431.         Dim l65482 As Long
  432.         Dim i65486 As Integer
  433.         Dim l65488 As Long
  434.         Dim i65492 As Integer
  435.         Dim l65494 As Long
  436.         Dim i65498 As Integer
  437.         Dim l65500 As Long
  438.         Dim i65504 As Integer
  439.         Dim l65506 As Long
  440.         Dim i65510 As Integer
  441.         Dim s65512 As String
  442.         Dim s65516 As String
  443.         Dim s65520 As String
  444.         Dim s65524 As String
  445.         Dim s65528 As String
  446.         Dim s65532 As String
  447.  
  448.         Do
  449.  2625     If s5795 = s5791 Then
  450.             o6015 = - 1
  451.           Else
  452.  2656       If s5795 <> s5791 Then
  453.               o6015 = 0
  454.             End If
  455.           End If
  456.  2678     Cls 
  457.           Print s5892; "@0D@"; s4469
  458.           Print s5892; "@0F@Configuration Setup and Player Editor@07@"
  459.           Print
  460.           Print
  461.           Print s5896; "[@0F@I@07@]nstall (First Time Setup)"
  462.           Print s5896; "[@0F@C@07@]onfiguration"
  463.           Print s5896; "[@0F@P@07@]layer Editor"
  464.           Print s5896; "[@0F@T@07@]eam Editor"
  465.           Print s5896; "[@0F@O@07@]nline Player Reset"
  466.           Print s5896; "[@0F@R@07@]eset Entire Game"
  467.           Print s5896; "[@0F@F@07@]ile Conversion"
  468.           Print s5896; "[@0F@Q@07@]uit"
  469.           Print
  470.           Print
  471.           Print s5892; "@07@Option ->@0F@ ";
  472.           Do
  473.  2860       s5884 = UCase(InKey(1213417543))
  474.           Loop Until InStr("ICPTORFQ", s5884) > 0
  475.           Print s5884
  476.           Delay 0.1
  477.           Print
  478.           s65532 = UCase(s5884)
  479.           If s65532 = "F" Then
  480.             Cls 
  481.             Print
  482.             Print s5892; "This option is to upgrade existing game files to a new format"
  483.             Print s5892; "during upgrades.  Run this process ONLY when the you are instructed"
  484.             Print s5892; "to do so from the UPGRADE.DOC file.  It is to be run only once."
  485.             Print
  486.             Print
  487.             Print s5892; "@0F@1. @07@Team File Upgrade"
  488.             Print s5892; "@0F@Q. @07@Quit"
  489.             Print
  490.             Print
  491.             Print s5892; "] ";
  492.             Do
  493.  3045         s5884 = UCase(InKey(1213417543))
  494.             Loop Until InStr("1Q", s5884) > 0
  495.             Print s5884
  496.             Print
  497.             s65528 = s5884
  498.             If s65528 = "1" Then
  499.               Print
  500.               Print s5892; "@0C@ARE YOU SURE? ";
  501.               Do
  502.  3133           s5884 = UCase(InKey(1213417543))
  503.               Loop Until InStr("YN", s5884) > 0
  504.               If s5884 = "Y" Then
  505.                 Run ProgPath + "teamcnvt", ""
  506.                 Name ProgPath + "teamfile.dat" As ProgPath + "teamfile.old"
  507.                 Name ProgPath + "teamfile.new" As ProgPath + "teamfile.dat"
  508.                 Print
  509.                 Print
  510.                 Print s5892; "@0F@Upgrade process completed."
  511.                 Delay 2
  512.                 Print
  513.                 Print s5892; "Your old team file has been renamed to TEAMFILE.OLD in case"
  514.                 Print s5892; "the conversion did not end normally."
  515.               End If
  516.  3309       Else
  517.  3315         If s65528 = "Q" Then
  518.                 GoTo 3338
  519.               End If
  520.             End If
  521.  3338     Else
  522.  3344       If s65532 = "R" Then
  523.               Cls 
  524.               Print
  525.               Print
  526.               Print s5892; "@8C@WARNING!"
  527.               Print
  528.               Print s5892; "@0F@THIS OPTION WILL START YOUR ENTIRE GAME OVER FROM SCRATCH!"
  529.               Print s5892; "@07@All players will be deleted and files initialized to begin"
  530.               Print s5892; "a new game.  Do not use this command while someone is in the game."
  531.               Print
  532.               Print
  533.               Print s5892; "Proceed with @0F@RESET@07@?  [@0F@Y@07@/@0F@N@07@]@0F@ ";
  534.               Do
  535.  3449           s5884 = UCase(InKey(1213417543))
  536.               Loop Until InStr("YN", s5884) > 0
  537.               Print s5884
  538.               Delay 0.1
  539.               If s5884 = "Y" Then
  540.                 Kill ProgPath + "players.dat"
  541.                 Kill ProgPath + "teamfile.dat"
  542.                 Kill ProgPath + "gameinfo.cfg"
  543.                 Kill ProgPath + "sysop.log"
  544.                 Kill ProgPath + "today.log"
  545.                 Kill ProgPath + "yesterdy.log"
  546.                 Kill ProgPath + "oldnews.log"
  547.                 Kill ProgPath + "gametrak.txt"
  548.  3643           For i5908 = 1 To 100 Step 1
  549.                   Kill ProgPath + "hqmsg." + Str(i5908)
  550.                   Kill s4493 + "meet." + Str(i5908)
  551.                   Kill s4493 + "bank." + Str(i5908)
  552.                   Kill s4493 + "urgent." + Str(i5908)
  553.                   Kill s4493 + "online." + Str(i5908)
  554.                 Next
  555.  3835           b5906 = 0
  556.  3862           For i5908 = 1 To 100 Step 1
  557.                   Kill s4493 + "mail" + Str(i5908) + "." + Str(b5906)
  558.                   Kill s4493 + "talk" + Str(i5908) + "." + Str(b5906)
  559.                   Kill s4493 + "reply" + Str(i5908) + "." + Str(b5906)
  560.                   Inc b5906
  561.                 Next
  562.  4064           Kill s4497 + s4501
  563.                 Kill s4497 + s4505
  564.                 Kill s4497 + s4509
  565.                 Kill s4497 + s4513
  566.                 Kill s4497 + s4517
  567.                 Kill s4497 + s4521
  568.                 Print
  569.                 Print s5892; "@07@You will now want to check your configuration options to"
  570.                 Print s5892; "make sure all is set the way you want it."
  571.                 Sub20010
  572.               End If
  573.  4180       Else
  574.  4186         If s65532 = "P" Then
  575.                 If o6015 = - 1 Then
  576.                   Sub13011
  577.                 Else
  578.  4232             If o6015 = 0 Then
  579.                     Print
  580.                     Print s5892; "The Player Editor is not available in the unregistered version."
  581.                     Sub20010
  582.                     GoTo 12895
  583.                   End If
  584.                 End If
  585.  4275           If Exists(ProgPath + "players.dat") = -1 Then
  586.                   Sub13011
  587.                 Else
  588.  4311             Print
  589.                   Print
  590.                   Print s5892; "No players are active yet."
  591.                   Sub20010
  592.                   GoTo 12895
  593.                 End If
  594.  4342         Else
  595.  4348           If s65532 = "T" Then
  596.                   Print
  597.                   Print s5892; "@07@The Team Editor will be available in a future release."
  598.                   Sub20010
  599.                   End 
  600.                   b5907 = 1
  601.                   Do
  602.  4396               If o6015 = 0 Then
  603.                       Print
  604.                       Print s5892; "The Team Editor is not available in the unregistered version."
  605.                       Sub20010
  606.                       GoTo 8765
  607.                     End If
  608.  4439               Cls 
  609.                     Print
  610.                     If Exists(ProgPath + "teamfile.dat") = -1 Then
  611.                       Sub20543
  612.                     Else
  613.  4480                 Print
  614.                       Print
  615.                       Print s5892; "No teams have been created yet."
  616.                       Sub20010
  617.                       GoTo 8765
  618.                     End If
  619.  4511               Print s5892; "@07@   Team ID #    :@0F@ "; t26_5398.b0
  620.                     Print s5892; "@0D@1.@07@ Name of Team  :@0F@ "; t26_5398.s1
  621.                     Print s5892; "@0D@2.@07@ Team Password :@0F@ "; t26_5398.s21
  622.                     Print s5892; "@0D@3.@07@ Leader        :@0F@ "; t26_5398.s29
  623.                     Print s5892; "@0D@4.@07@ Member        :@0F@ "; t26_5398.s47
  624.                     Print s5892; "@0D@5.@07@ Member        :@0F@ "; t26_5398.s65
  625.                     Print s5892; "@0D@6.@07@ Member        :@0F@ "; t26_5398.s83
  626.                     Print s5892; "@0D@7.@07@ Bank Account  :@0F@ "; t26_5398.l119
  627.                     Print s5892; "@0D@8.@07@ Medical Kit I :@0F@ "; t26_5398.i143(1)
  628.                     Print s5892; "@0D@9.@07@ Medical Kit II:@0F@ "; t26_5398.i143(6)
  629.                     Print s5892; "@0D@A.@07@ P-Detonators  :@0F@ "; t26_5398.i143(2)
  630.                     Print s5892; "@0D@B.@07@ Nitro Packs   :@0F@ "; t26_5398.i143(3)
  631.                     Print s5892; "@0D@C.@07@ Rocks         :@0F@ "; t26_5398.i143(4)
  632.                     Print s5892; "@0D@D.@07@ Control Cards :@0F@ "; t26_5398.i143(5)
  633.                     Print
  634.                     Print s5892; "@07@[@0D@N@07@]ext Team    @07@[@0D@L@07@]eave Team Editor"
  635.                     Print s5892; ">@0F@ ";
  636.                     Do
  637.  5065                 s5884 = UCase(InKey(1213417543))
  638.                     Loop Until InStr("123456789ABCDLN", s5884) > 0
  639.                     Print s5884
  640.                     Delay 0.1
  641.                     Print
  642.                     s65524 = s5884
  643.                     If s65524 = "1" Then
  644.                       s5992 = t26_5398.s1
  645.                       Print s5892; "Enter new team name: ";
  646.                       Input t26_5398.s1
  647.                       If t26_5398.s1 = "" Then
  648.                         t26_5398.s1 = s5992
  649.                       End If
  650.  5222                 Sub20600
  651.                     Else
  652.  5234                 If s65524 = "2" Then
  653.                         s5992 = t26_5398.s21
  654.                         Print s5892; "Enter new password: ";
  655.                         Input t26_5398.s21
  656.                         If t26_5398.s21 = "" Then
  657.                           t26_5398.s21 = s5992
  658.                         End If
  659.  5329                   Sub20600
  660.                       Else
  661.  5341                   If s65524 = "3" Then
  662.                           Print s5892; "Name of Team Leader: ";
  663.                           Input s5996
  664.                           Open ProgPath + "players.dat" For Random As 4 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  665.  5429                     For i5908 = 1 To LOF(4) Step 1
  666.                             Get 4, i5908, t27_4871 '! 346 bytes
  667.                             If UCase(s5996) = UCase(t27_4871.s30) Then
  668.                               s5992 = t26_5398.s29
  669.                               t26_5398.s29 = s5996
  670.                               t27_4871.b190 = b5907
  671.                               t27_4871.s191 = t26_5398.s1
  672.                               Put 4, i5908, t27_4871 '! 346 bytes
  673.  5625                         For i6000 = 1 To LOF(4) Step 1
  674.                                 Get 4, i6000, t28_4525 '! 346 bytes
  675.                                 If UCase(s5992) = UCase(t28_4525.s30) Then
  676.                                   t28_4525.b190 = 0
  677.                                   t28_4525.s191 = "No Team"
  678.                                   Put 4, i6000, t28_4525 '! 346 bytes
  679.                                 End If
  680.  5760                         Next
  681.  5783                         GoTo 5909
  682.                             Else
  683.  5795                         If UCase(s5996) <> UCase(t27_4871.s30) And EOF(4) Then
  684.                                 t26_5398.s29 = "No Member"
  685.                                 t27_4871.b190 = 0
  686.                                 t27_4871.s191 = "No Team"
  687.                                 Put 4, i5908, t27_4871 '! 346 bytes
  688.                               End If
  689.                             End If
  690.  5886                     Next
  691.  5909                     Close 4
  692.                           Sub20600
  693.                         Else
  694.  5926                     If s65524 = "4" Then
  695.                             Print s5892; "Type FULL name of member: ";
  696.                             Input s5996
  697.                             Open ProgPath + "players.dat" For Random As 4 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  698.  6014                       For i5908 = 1 To LOF(4) Step 1
  699.                               Get 4, i5908, t27_4871 '! 346 bytes
  700.                               If UCase(s5996) = UCase(t27_4871.s30) Then
  701.                                 s5992 = t26_5398.s47
  702.                                 t26_5398.s47 = s5996
  703.                                 t27_4871.b190 = b5907
  704.                                 t27_4871.s191 = t26_5398.s1
  705.                                 Put 4, i5908, t27_4871 '! 346 bytes
  706.  6210                           For i6000 = 1 To LOF(4) Step 1
  707.                                   Get 4, i6000, t28_4525 '! 346 bytes
  708.                                   If UCase(s5992) = UCase(t28_4525.s30) Then
  709.                                     t28_4525.b190 = 0
  710.                                     t28_4525.s191 = "No Team"
  711.                                     Put 4, i6000, t28_4525 '! 346 bytes
  712.                                   End If
  713.  6345                           Next
  714.  6368                           GoTo 6397
  715.                               End If
  716.  6374                       Next
  717.  6397                       If UCase(s5996) <> UCase(t27_4871.s30) Then
  718.                               t26_5398.s47 = "No Member"
  719.                               t27_4871.b190 = 0
  720.                               t27_4871.s191 = "No Team"
  721.                               Put 4, i5908, t27_4871 '! 346 bytes
  722.                             End If
  723.  6481                       Close 4
  724.                             Sub20600
  725.                           Else
  726.  6498                       If s65524 = "5" Then
  727.                               Print s5892; "Type FULL name of member: ";
  728.                               Input s5996
  729.                               Open ProgPath + "players.dat" For Random As 4 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  730.  6586                         For i5908 = 1 To LOF(4) Step 1
  731.                                 Get 4, i5908, t27_4871 '! 346 bytes
  732.                                 If UCase(s5996) = UCase(t27_4871.s30) Then
  733.                                   s5992 = t26_5398.s65
  734.                                   t26_5398.s65 = s5996
  735.                                   t27_4871.b190 = b5907
  736.                                   t27_4871.s191 = t26_5398.s1
  737.                                   Put 4, i5908, t27_4871 '! 346 bytes
  738.  6782                             For i6000 = 1 To LOF(4) Step 1
  739.                                     Get 4, i6000, t28_4525 '! 346 bytes
  740.                                     If UCase(s5992) = UCase(t28_4525.s30) Then
  741.                                       t28_4525.b190 = 0
  742.                                       t28_4525.s191 = "No Team"
  743.                                       Put 4, i6000, t28_4525 '! 346 bytes
  744.                                     End If
  745.  6917                             Next
  746.  6940                             GoTo 7066
  747.                                 Else
  748.  6952                             If UCase(s5996) <> UCase(t27_4871.s30) And EOF(4) Then
  749.                                     t26_5398.s65 = "No Member"
  750.                                     t27_4871.b190 = 0
  751.                                     t27_4871.s191 = "No Team"
  752.                                     Put 4, i5908, t27_4871 '! 346 bytes
  753.                                   End If
  754.                                 End If
  755.  7043                         Next
  756.  7066                         Close 4
  757.                               Sub20600
  758.                             Else
  759.  7083                         If s65524 = "6" Then
  760.                                 Print s5892; "Type FULL name of member: ";
  761.                                 Input s5996
  762.                                 Open ProgPath + "players.dat" For Random As 4 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  763.  7171                           For i5908 = 1 To LOF(4) Step 1
  764.                                   Get 4, i5908, t27_4871 '! 346 bytes
  765.                                   If UCase(s5996) = UCase(t27_4871.s30) Then
  766.                                     s5992 = t26_5398.s83
  767.                                     t26_5398.s83 = s5996
  768.                                     t27_4871.b190 = b5907
  769.                                     t27_4871.s191 = t26_5398.s1
  770.                                     Put 4, i5908, t27_4871 '! 346 bytes
  771.  7367                               For i6000 = 1 To LOF(4) Step 1
  772.                                       Get 4, i6000, t28_4525 '! 346 bytes
  773.                                       If UCase(s5992) = UCase(t28_4525.s30) Then
  774.                                         t28_4525.b190 = 0
  775.                                         t28_4525.s191 = "No Team"
  776.                                         Put 4, i6000, t28_4525 '! 346 bytes
  777.                                       End If
  778.  7502                               Next
  779.  7525                               GoTo 7651
  780.                                   Else
  781.  7537                               If UCase(s5996) <> UCase(t27_4871.s30) And EOF(4) Then
  782.                                       t26_5398.s83 = "No Member"
  783.                                       t27_4871.b190 = 0
  784.                                       t27_4871.s191 = "No Team"
  785.                                       Put 4, i5908, t27_4871 '! 346 bytes
  786.                                     End If
  787.                                   End If
  788.  7628                           Next
  789.  7651                           Close 4
  790.                                 Sub20600
  791.                               Else
  792.  7668                           If s65524 = "7" Then
  793.                                   Print s5892; "Enter amount in team bank account: ";
  794.                                   Input t26_5398.l119
  795.                                   Sub20600
  796.                                 Else
  797.  7723                             If s65524 = "8" Then
  798.                                     Print s5892; "Number of Medical Kits I in Inventory: ";
  799.                                     Input t26_5398.i143(1)
  800.                                     If t26_5398.i143(1) > 32000 Then
  801.                                       t26_5398.i143(1) = 0
  802.                                     End If
  803.  7874                               Sub20600
  804.                                   Else
  805.  7886                               If s65524 = "9" Then
  806.                                       Print s5892; "Number of Medical Kits II in Inventory: ";
  807.                                       Input t26_5398.i143(6)
  808.                                       If t26_5398.i143(6) > 32000 Then
  809.                                         t26_5398.i143(6) = 0
  810.                                       End If
  811.  8037                                 Sub20600
  812.                                     Else
  813.  8049                                 If s65524 = "A" Then
  814.                                         Print s5892; "Number of Proton Detonators in Inventory: ";
  815.                                         Input t26_5398.i143(2)
  816.                                         If t26_5398.i143(2) > 32000 Then
  817.                                           t26_5398.i143(2) = 0
  818.                                         End If
  819.  8200                                   Sub20600
  820.                                       Else
  821.  8212                                   If s65524 = "B" Then
  822.                                           Print s5892; "Number of Nitro Packs in Inventory: ";
  823.                                           Input t26_5398.i143(3)
  824.                                           If t26_5398.i143(3) > 32000 Then
  825.                                             t26_5398.i143(3) = 0
  826.                                           End If
  827.  8363                                     Sub20600
  828.                                         Else
  829.  8375                                     If s65524 = "C" Then
  830.                                             Print s5892; "Number of Rocks in Inventory: ";
  831.                                             Input t26_5398.i143(4)
  832.                                             If t26_5398.i143(4) > 32000 Then
  833.                                               t26_5398.i143(4) = 0
  834.                                             End If
  835.  8526                                       Sub20600
  836.                                           Else
  837.  8538                                       If s65524 = "D" Then
  838.                                               Print s5892; "Number of Control Cards in Inventory: ";
  839.                                               Input t26_5398.i143(5)
  840.                                               If t26_5398.i143(5) > 32000 Then
  841.                                                 t26_5398.i143(5) = 0
  842.                                               End If
  843.  8689                                         Sub20600
  844.                                             Else
  845.  8701                                         If s65524 = "N" Then
  846.                                                 Inc b5907
  847.                                               Else
  848.  8730                                           If s65524 = "L" Then
  849.                                                   GoTo 8765
  850.                                                   GoTo 8759
  851.                                                 End If
  852.                                               End If
  853.                                             End If
  854.                                           End If
  855.                                         End If
  856.                                       End If
  857.                                     End If
  858.                                   End If
  859.                                 End If
  860.                               End If
  861.                             End If
  862.                           End If
  863.                         End If
  864.                       End If
  865.                     End If
  866.  8759             Loop
  867.  8765           Else
  868.  8771             If s65532 = "C" Then
  869.                     Sub2288
  870.                     Sub19500
  871.                     Do
  872.  8800                 MorePrompt(0)
  873.                       Cls 
  874.                       Print s5892; "@0F@Configuration Options"
  875.                       Print
  876.                       Print s5892; "@07@1. Enter Registration Number: @05@"; s5795
  877.                       Print s5892; "@07@2. Max # of Street Fights: @05@"; b5799
  878.                       Print s5892; "@07@3. Max # of Player Fights: @05@"; b5800
  879.                       Print s5892; "@07@4. Max Amount to Transfer: @05@"; i5801
  880.                       Print s5892; "@07@5. Length of Game in Days: @05@"; i5860
  881.                       Print s5892; "@07@6. Name of Caller who Registered Game: @05@"; s5804
  882.                       Print s5892; "@07@7. Current Weather Condition: @05@"; s5862
  883.                       Print s5892; "@07@8. Maximum # of Teams: @05@"; b5803
  884.                       Print s5892; "@07@9. Rooms available in Zorak's Hotel: @05@"; b5867
  885.                       Print s5892; "@07@A. Days to wait before deleting inactive players: @05@"; b5812
  886.                       Print s5892; "@07@B. Name of City: @05@"; s5814
  887.                       Print s5892; "@07@C. City Ruler's Name: @05@"; s5839
  888.                       Print s5892; "@07@D. Scores Setup"
  889.                       Print s5892; "@07@E. Game Editor Sysop: @05@"; s5808
  890.                       If o5813 = 0 Then
  891.                         Print s5892; "@07@F. Clean Mode is @0C@OFF"
  892.                       Else
  893.  9159                   Print s5892; "@07@F. Clean Mode is @0A@ON"
  894.                       End If
  895.  9174                 Print s5892; "@07@Q. Quit Configuration"
  896.                       Print
  897.                       Print s5892; "@07@Number Players: @05@"; i5858
  898.                       Print
  899.                       Print s5892; "@07@>@05@ ";
  900.                       Do
  901.  9230                   s5884 = UCase(InKey(1213417543))
  902.                       Loop Until InStr("123456789ABCDEFQ", s5884) > 0
  903.                       Print s5884
  904.                       Delay 0.1
  905.                       Print
  906.                       Print
  907.                       s65520 = s5884
  908.                       If s65520 = "1" Then
  909.                         s5902 = s5795
  910.                         Print "@07@Enter your registration code:@05@ ";
  911.                         Input s5795
  912.                         If s5795 = "" Then
  913.                           s5795 = s5902
  914.                         End If
  915.  9359                 Else
  916.  9365                   If s65520 = "2" Then
  917.                           Print "@07@Maximum Number of Street Fights per Day:@05@ ";
  918.                           Input b5799
  919.                         Else
  920.  9404                     If s65520 = "3" Then
  921.                             Print "@07@Maximum Number of Player Fights per Day:@05@ ";
  922.                             Input b5800
  923.                           Else
  924.  9443                       If s65520 = "4" Then
  925.                               Print "@07@Maximum of Credits for Team Members to Transfer:@05@ ";
  926.                               Input i5801
  927.                             Else
  928.  9482                         If s65520 = "5" Then
  929.                                 Print "@07@How long has the current game been running? ";
  930.                                 Input i5860
  931.                               Else
  932.  9521                           If s65520 = "6" Then
  933.                                   Print "@07@Name of person who registered game: ";
  934.                                   Input s5804
  935.                                   If s5804 = "" Then
  936.                                     s5804 = "Scott Bradbury"
  937.                                   End If
  938.  9579                           Else
  939.  9585                             If s65520 = "7" Then
  940.                                     Print "@07@0. Extremely Cold"
  941.                                     Print "@07@1. Cold"
  942.                                     Print "@07@2. Cool and Mild"
  943.                                     Print "@07@3. Windy"
  944.                                     Print "@07@4. Rain and Thunderstorms"
  945.                                     Print "@07@5. Mild"
  946.                                     Print "@07@6. Sunny & Clear"
  947.                                     Print "@07@7. Hot"
  948.                                     Print "@07@8. Hot and Humid"
  949.                                     Print "@0F@P@07@revious Menu"
  950.                                     Do
  951.  9692                                 s5884 = UCase(InKey(1213417543))
  952.                                     Loop Until InStr("012345678P", s5884) > 0
  953.                                     s65516 = s5884
  954.                                     If s65516 = "P" Then
  955.                                     Else
  956.  9759                                 If s65516 = "0" Then GoTo 9912
  957.                                       If s65516 = "1" Then GoTo 9912
  958.                                       If s65516 = "2" Then GoTo 9912
  959.                                       If s65516 = "3" Then GoTo 9912
  960.                                       If s65516 = "4" Then GoTo 9912
  961.                                       If s65516 = "5" Then GoTo 9912
  962.                                       If s65516 = "6" Then GoTo 9912
  963.                                       If s65516 = "7" Then GoTo 9912
  964.                                       If s65516 = "8" Then
  965.  9912                                   Func20089(s5884)
  966.                                         b5866 = Val(s5884)
  967.                                         GoTo 9940
  968.                                       End If
  969.                                     End If
  970.  9940                             Else
  971.  9946                               If s65520 = "8" Then
  972.                                       Print "@07@Maximum Number of Teams to Allow:@05@ ";
  973.                                       Input b5803
  974.                                     Else
  975.  9985                                 If s65520 = "9" Then
  976.                                         Print "@07@Rooms vacant in Zorak's Hotel [Max 25]:@05@ ";
  977.                                         Input b5867
  978.                                         If b5867 > 25 Then
  979.                                           b5867 = 25
  980.                                         Else
  981. 10046                                     If Str(b5867) = "" Then
  982.                                             b5867 = 25
  983.                                           End If
  984.                                         End If
  985. 10074                                 Else
  986. 10080                                   If s65520 = "A" Then
  987.                                           Print "@07@Delete players after how many days inactivity? ";
  988.                                           Input b5812
  989.                                           If Str(b5812) = "" Then
  990.                                             b5812 = 15
  991.                                           End If
  992. 10141                                   Else
  993. 10147                                     If s65520 = "B" Then
  994.                                             Print "@07@Name of City: ";
  995.                                             Input s5814
  996.                                             If s5814 = "" Then
  997.                                               s5814 = "New Futura City"
  998.                                             End If
  999. 10211                                     Else
  1000. 10217                                       If s65520 = "C" Then
  1001.                                               Print "@07@Name of City Ruler: ";
  1002.                                               Input s5839
  1003.                                               If s5839 = "" Then
  1004.                                                 s5839 = "Xaviana Magnaflux"
  1005.                                               End If
  1006. 10281                                         Print "@07@Gender (M/F): ";
  1007.                                               Input s5857
  1008.                                               If s5857 = "" Then
  1009.                                                 s5857 = "F"
  1010.                                               End If
  1011. 10328                                       Else
  1012. 10334                                         If s65520 = "D" Then
  1013.                                                 Do
  1014. 10351                                             Cls 
  1015.                                                   Print
  1016.                                                   If s4497 = "" Then
  1017.                                                     s4497 = ProgPath + "SCORES\"
  1018.                                                   End If
  1019. 10387                                             If s4501 = "" Then
  1020.                                                     s4501 = "ROSTER.BBS"
  1021.                                                   End If
  1022. 10413                                             If s4505 = "" Then
  1023.                                                     s4505 = "EXPERT.BBS"
  1024.                                                   End If
  1025. 10439                                             If s4509 = "" Then
  1026.                                                     s4509 = "CHARISMA.BBS"
  1027.                                                   End If
  1028. 10465                                             If s4513 = "" Then
  1029.                                                     s4513 = "TEAMLIST.BBS"
  1030.                                                   End If
  1031. 10491                                             If s4517 = "" Then
  1032.                                                     s4517 = "ELITE.BBS"
  1033.                                                   End If
  1034. 10517                                             If s4521 = "" Then
  1035.                                                     s4521 = "CLASSES.BBS"
  1036.                                                   End If
  1037. 10543                                             Print s5892; "@0D@SCORE LISTINGS SETUP"
  1038.                                                   Print
  1039.                                                   Print s5892; "@0D@1@07@] Scores Directory    :@0F@ "; s4497
  1040.                                                   Print s5892; "@0D@2@07@] City Roster Bulletin:@0F@ "; s4501
  1041.                                                   Print s5892; "@0D@3@07@] Experienced Listing :@0F@ "; s4505
  1042.                                                   Print s5892; "@0D@4@07@] Charisma Ratings    :@0F@ "; s4509
  1043.                                                   Print s5892; "@0D@5@07@] Team Listings       :@0F@ "; s4513
  1044.                                                   Print s5892; "@0D@6@07@] Elite Rankings      :@0F@ "; s4517
  1045.                                                   Print s5892; "@0D@7@07@] Mutant Class List   :@0F@ "; s4521
  1046.                                                   Print s5892; "@0D@Q@07@]uit to Main"
  1047.                                                   Print
  1048.                                                   Print s5892; ">@0F@ ";
  1049.                                                   Do
  1050. 10739                                               s5884 = UCase(InKey(1213417543))
  1051.                                                   Loop Until InStr("1234567Q", s5884) > 0
  1052.                                                   Print s5884
  1053.                                                   Delay 0.1
  1054.                                                   Print
  1055.                                                   s65512 = s5884
  1056.                                                   If s65512 = "1" Then
  1057.                                                     Print s5892; "@07@Enter the drive and directory for your score listings."
  1058.                                                     Print s5892; "@0D@(Example: C:\MUTANTS\SCORES)"
  1059.                                                     Print
  1060.                                                     Print s5892; "] ";
  1061.                                                     Input s4497
  1062.                                                     If s4497 = "" Then
  1063.                                                       s4497 = ProgPath + "SCORES"
  1064.                                                     End If
  1065. 10902                                               If s4497 <> "" Then
  1066.                                                       Print s5892; "Do you want to make this directory now? ";
  1067.                                                       Do
  1068. 10934                                                   s5884 = UCase(InKey(1213417543))
  1069.                                                       Loop Until InStr("YN", s5884) > 0
  1070.                                                       If s5884 = "Y" Then
  1071.                                                         MkDir s4497
  1072.                                                         s4497 = s4497 + "\"
  1073.                                                         Print
  1074.                                                         Print s5892; "@07@The game will now start keeping your score files in this directory."
  1075.                                                       End If
  1076. 11026                                                 If s5884 = "N" Then
  1077.                                                         s4497 = s4497 + "\"
  1078.                                                         Print
  1079.                                                         Print s5892; "@07@Make sure you create this directory."
  1080.                                                       End If
  1081.                                                     End If
  1082. 11075                                               Sub20010
  1083.                                                   Else
  1084. 11087                                               If s65512 = "2" Then
  1085.                                                       Print s5892; "@07@City Roster Bulletin:@0D@ ";
  1086.                                                       Input s4501
  1087.                                                       If s4501 = "" Then
  1088.                                                         s4501 = "ROSTER.BBS"
  1089.                                                       End If
  1090. 11151                                               Else
  1091. 11157                                                 If s65512 = "3" Then
  1092.                                                         Print s5892; "@07@Experienced Listing: ";
  1093.                                                         Input s4505
  1094.                                                         If s4505 = "" Then
  1095.                                                           s4505 = "EXPERT.BBS"
  1096.                                                         End If
  1097. 11221                                                 Else
  1098. 11227                                                   If s65512 = "4" Then
  1099.                                                           Print s5892; "@07@Charisma Ratings: ";
  1100.                                                           Input s4509
  1101.                                                           If s4509 = "" Then
  1102.                                                             s4509 = "CHARISMA.BBS"
  1103.                                                           End If
  1104. 11291                                                   Else
  1105. 11297                                                     If s65512 = "5" Then
  1106.                                                             Print s5892; "@07@Team Listings: ";
  1107.                                                             Input s4513
  1108.                                                             If s4513 = "" Then
  1109.                                                               s4513 = "TEAMLIST.BBS"
  1110.                                                             End If
  1111. 11361                                                     Else
  1112. 11367                                                       If s65512 = "6" Then
  1113.                                                               Print s5892; "@07@Elite Rankings: ";
  1114.                                                               Input s4517
  1115.                                                               If s4517 = "" Then
  1116.                                                                 s4517 = "ELITE.BBS"
  1117.                                                               End If
  1118. 11431                                                       Else
  1119. 11437                                                         If s65512 = "7" Then
  1120.                                                                 Print "@07@Class Listing: ";
  1121.                                                                 Input s4521
  1122.                                                                 If s4521 = "" Then
  1123.                                                                   s4521 = "CLASSES.BBS"
  1124.                                                                 End If
  1125. 11495                                                         Else
  1126. 11501                                                           If s65512 = "Q" Then
  1127.                                                                   GoTo 11536
  1128.                                                                   GoTo 11530
  1129.                                                                 End If
  1130.                                                               End If
  1131.                                                             End If
  1132.                                                           End If
  1133.                                                         End If
  1134.                                                       End If
  1135.                                                     End If
  1136.                                                   End If
  1137. 11530                                           Loop
  1138. 11536                                         Else
  1139. 11542                                           If s65520 = "E" Then
  1140.                                                   Print "@07@Name of person allowed to use game editor: ";
  1141.                                                   Input s5808
  1142.                                                   If s5808 = "" Then
  1143.                                                     s5808 = MakeWild.SysopName
  1144.                                                   End If
  1145. 11605                                           Else
  1146. 11611                                             If s65520 = "F" Then
  1147.                                                     If o5813 = 0 Then
  1148.                                                       o5813 = - 1
  1149.                                                     Else
  1150. 11657                                                 o5813 = 0
  1151.                                                     End If
  1152. 11663                                             Else
  1153. 11669                                               If s65520 = "Q" Then
  1154.                                                       Sub2492
  1155.                                                       Sub19818
  1156.                                                       b5901 = 1
  1157.                                                       GoTo 11711
  1158.                                                     End If
  1159.                                                   End If
  1160.                                                 End If
  1161.                                               End If
  1162.                                             End If
  1163.                                           End If
  1164.                                         End If
  1165.                                       End If
  1166.                                     End If
  1167.                                   End If
  1168.                                 End If
  1169.                               End If
  1170.                             End If
  1171.                           End If
  1172.                         End If
  1173.                       End If
  1174. 11711               Loop While b5901 = 0
  1175.                     b5901 = 0
  1176.                   Else
  1177. 11737               If s65532 = "I" Then
  1178.                       Cls 
  1179.                       Print
  1180.                       Print s5892; "@07@This proceedure will setup some additional directories and files."
  1181.                       Print s5892; "The directories will be added on to "; ProgPath; "."
  1182.                       Print
  1183.                       Print s5892; "Is this the directory you plan to use?  (@0F@Y@07@/@0F@N@07@)@0F@ ";
  1184.                       Do
  1185. 11818                   s5884 = UCase(InKey(1213417543))
  1186.                       Loop Until InStr("YN", s5884) > 0
  1187.                       Print s5884
  1188.                       Delay 0.1
  1189.                       Print
  1190.                       If s5884 = "Y" Then
  1191.                         Print
  1192.                         Print s5892; "@07@Installing...please wait."
  1193.                         MkDir ProgPath + "disp"
  1194.                         MkDir ProgPath + "mail"
  1195.                         MkDir ProgPath + "scores"
  1196.                         CopyFile(ProgPath + "\disp.zip", ProgPath + "\disp\disp.zip")
  1197.                         Shell "pkunzip disp", ProgPath + "\disp"
  1198.                         Kill ProgPath + "\disp\disp.zip"
  1199.                         Print
  1200.                         Print
  1201.                         Print s5892; "@05@Installation is complete."
  1202.                         Print
  1203.                         Sub20010
  1204.                       Else
  1205. 12033                   Print
  1206.                         Print s5892; "Unzip the MUTANTS archive into a directory you plan to use and"
  1207.                         Print s5892; "then try running this installation from that directory."
  1208.                         Print
  1209.                         Sub20010
  1210.                       End If
  1211. 12073               Else
  1212. 12079                 If s65532 = "N" Then
  1213.                         t28_4525.b126 = t28_4525.b125
  1214.                         t28_4525.b247 = 0
  1215.                         t28_4525.b127 = b5800
  1216.                         t28_4525.b229 = 0
  1217.                         t28_4525.b128 = b5799
  1218.                         t28_4525.b256 = 0
  1219.                         t28_4525.s129 = "N"
  1220.                         t28_4525.b248 = 0
  1221.                         t28_4525.b223 = 0
  1222.                         t28_4525.b229 = 0
  1223.                         t28_4525.b224 = 0
  1224.                         t28_4525.b250 = 0
  1225.                         t28_4525.b225 = 0
  1226.                         t28_4525.b249 = 0
  1227.                         t28_4525.b226 = 0
  1228.                         t28_4525.b248 = 0
  1229.                         t28_4525.b234 = 0
  1230.                         t28_4525.b221 = 0
  1231.                         t28_4525.b222 = 0
  1232.                         t28_4525.b237 = 0
  1233.                         t28_4525.b239 = 0
  1234.                         t28_4525.o241 = 0
  1235.                         t28_4525.b228 = 0
  1236.                         t28_4525.s233 = "H"
  1237.                         t28_4525.b243 = 0
  1238.                         t28_4525.b244 = 0
  1239.                         t28_4525.b245 = 0
  1240.                         t28_4525.o246 = 0
  1241.                         t28_4525.b231 = t28_4525.b232
  1242.                       Else
  1243. 12427                   If s65532 = "O" Then
  1244.                           Cls 
  1245.                           Print
  1246.                           Print
  1247.                           Print s5892; "This option will reset players as OFFLINE.  Use this feature"
  1248.                           Print s5892; "when people are shown online in the game when they actually are"
  1249.                           Print s5892; "not playing."
  1250.                           Print
  1251.                           Print s5892; "Use this option when no one is in the game.  Continuing while"
  1252.                           Print s5892; "players are currently in the game may have adverse effects."
  1253.                           Print
  1254.                           Print s5892; "Continue?  [Y/N] ";
  1255.                           Do
  1256. 12545                       s5884 = UCase(InKey(1213417543))
  1257.                           Loop Until InStr("YN", s5884) > 0
  1258.                           Print s5884
  1259.                           Delay 0.1
  1260.                           Print
  1261.                           If s5884 = "Y" Then
  1262.                             Print
  1263.                             Print
  1264.                             Print
  1265.                             Print s5892; "Resetting online flag for all players..."
  1266.                             Open ProgPath + "players.dat" For Random As 1 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  1267. 12687                       For i5908 = 1 To LOF(1) Step 1
  1268.                               Seek 1, i5908
  1269.                               Get 1, i5908, t27_4871 '! 346 bytes
  1270.                               t27_4871.b246 = 0
  1271.                               Put 1, i5908, t27_4871 '! 346 bytes
  1272.                             Next
  1273. 12812                       Close 1
  1274.                             Print
  1275.                             Print
  1276.                             Print s5892; "Operation complete."
  1277.                             Sub20010
  1278.                           End If
  1279. 12842                   Else
  1280. 12848                     If s65532 = "Q" Then
  1281.                             Cls 
  1282.                             b5901 = 1
  1283.                             GoTo 12881
  1284.                           End If
  1285.                         End If
  1286.                       End If
  1287.                     End If
  1288.                   End If
  1289.                 End If
  1290.               End If
  1291.             End If
  1292.           End If
  1293. 12881   Loop While b5901 = 0
  1294. 12895
  1295.       End Sub
  1296.  
  1297. '! Called 3 times
  1298.       Sub Sub12922
  1299.         Open ProgPath + "players.dat" For Random As 1 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  1300.         Seek 1, i5908
  1301.         i5910 = Loc(1)
  1302.         i5912 = LOF(1)
  1303.         Get 1, i5908, t28_4525 '! 346 bytes
  1304.         Close 1
  1305.       End Sub
  1306.  
  1307. '! Called 2 times
  1308.       Sub Sub13011
  1309.         Dim l65488 As Long
  1310.         Dim i65492 As Integer
  1311.         Dim l65494 As Long
  1312.         Dim i65498 As Integer
  1313.         Dim s65500 As String '! Temporary
  1314.         Dim s65504 As String '! Temporary
  1315.         Dim s65508 As String '! Temporary
  1316.         Dim s65512 As String '! Temporary
  1317.         Dim s65516 As String '! Temporary
  1318.         Dim s65520 As String '! Temporary
  1319.         Dim s65524 As String
  1320.         Dim s65528 As String
  1321.         Dim s65532 As String
  1322.  
  1323.         If s5884 = "E" Then
  1324.         Else
  1325. 13043     i5908 = 1
  1326.           Sub12922
  1327.           Do
  1328. 13056       Cls 
  1329.             Print "@0D@ 0.@07@ Real Name: @0F@"; t28_4525.s0; Tab(36); "@07@ID #:@0F@ "; t28_4525.s48
  1330.             Print
  1331.             Print "@0D@ 1.@07@ Mutant Name:@0F@ "; t28_4525.s30; Tab(36); "@0D@19.@07@ Last Played     :@0F@ "; t28_4525.b258; "@07@ Day(s) Ago"
  1332.             Print "@0D@ 2.@07@ Gender     :@0F@ "; t28_4525.s55; Tab(36); "@0D@20.@07@ On Now          :@0F@ "; t28_4525.o246
  1333.             Print "@0D@ 3.@07@ Currency   :@0F@ "; t28_4525.l98; Tab(36); "@0D@21.@07@ Player Fights   :@0F@ "; t28_4525.b127
  1334.             Print "@0D@ 4.@07@ Credit Acct:@0F@ "; t28_4525.l102; Tab(36); "@0D@22.@07@ Street Fights   :@0F@ "; t28_4525.b128
  1335.             Print "@0D@ 5.@07@ Experience :@0F@ "; t28_4525.l51; Tab(36); "@0D@23.@07@ Player Dead     :@0F@ "; t28_4525.s129
  1336.             Print "@0D@ 6.@07@ Intellect  :@0F@ "; t28_4525.i56; Tab(36); "@0D@24.@07@ Hunger Level    :@0F@ "; t28_4525.b256
  1337.             Print "@0D@ 7.@07@ Health     :@0F@ "; t28_4525.i94; Tab(36); "@0D@25.@07@ Obstacle Event  :@0F@ "; t28_4525.b259
  1338.             Print "@0D@ 8.@07@ Max Health :@0F@ "; t28_4525.i96; Tab(36); "@0D@26.@07@ Completed Games :@0F@ "; t28_4525.b230
  1339.             Print "@0D@ 9.@07@ Charisma   :@0F@ "; t28_4525.i58; Tab(36); "@0D@27.@07@ Flag Settings"
  1340.             Print "@0D@10.@07@ Strength   :@0F@ "; t28_4525.i60; Tab(36); "@0D@28.@07@ Skill Turns Left:@0F@ "; t28_4525.b231
  1341.             Print "@0D@11.@07@ Level      :@0F@ "; t28_4525.b106; Tab(36); "@0D@29.@07@ Max Skill Turns :@0F@ "; t28_4525.b232
  1342.             Print "@0D@12.@07@ Mut. Power :@0F@ "; t28_4525.s110; Tab(36); "@0D@30.@07@ Inventory Items"
  1343.             Print "@0D@13.@07@ Max MP Turn:@0F@ "; t28_4525.b125; Tab(36); "@0D@31.@07@ Edit Skills"
  1344.             Print "@0D@14.@07@ MP Left    :@0F@ "; t28_4525.b126; Tab(36); "@07@Team ID:@0F@ "; t28_4525.b190
  1345.             Print "@0D@15.@07@ Alignment  :@0F@ "; t28_4525.i107; Tab(36); "@07@Team Name :@0F@ "; t28_4525.s191
  1346.             Print
  1347.             Print
  1348.             Print s5892; "@0F@F@07@orward     @0F@B@07@ackward     @0F@S@07@earch Alias     @0F@R@07@eal Name Search"
  1349.             Print s5892; "@0F@E@07@xit        @0F@N@07@ew Day      @0F@D@07@elete Player"
  1350.             Print "> ";
  1351.             Input s5884
  1352.             s5884 = UCase(s5884)
  1353.             s65532 = s5884
  1354.             If s65532 = "0" Then
  1355.               s5992 = t28_4525.s0
  1356.               Print "Enter player's REAL name: ";
  1357.               Input t28_4525.s0
  1358.               If t28_4525.s0 = "" Then
  1359.                 t28_4525.s0 = s5992
  1360.               End If
  1361. 13918       Else
  1362. 13924         If s65532 = "1" Then
  1363.                 s5992 = t28_4525.s30
  1364.                 Print "Enter New Alias Name: ";
  1365.                 Input t28_4525.s30
  1366.                 If t28_4525.s30 = "" Then
  1367.                   t28_4525.s30 = s5992
  1368.                 End If
  1369. 14013         Else
  1370. 14019           If s65532 = "2" Then
  1371.                   If UCase(t28_4525.s55) = "M" Then
  1372.                     t28_4525.s55 = "F"
  1373.                   Else
  1374. 14083               If UCase(t28_4525.s55) = "F" Then
  1375.                       t28_4525.s55 = "M"
  1376.                     End If
  1377.                   End If
  1378. 14124           Else
  1379. 14130             If s65532 = "3" Then
  1380.                     Print "New Amount of Credits on Hand: ";
  1381.                     Input t28_4525.l98
  1382.                   Else
  1383. 14173               If s65532 = "4" Then
  1384.                       Print "New Amount of Credits in RTM: ";
  1385.                       Input t28_4525.l102
  1386.                     Else
  1387. 14216                 If s65532 = "5" Then
  1388.                         Print "New Amount of Experience: ";
  1389.                         Input t28_4525.l51
  1390.                       Else
  1391. 14259                   If s65532 = "6" Then
  1392.                           Print "New Intelligence Level: ";
  1393.                           Input t28_4525.i56
  1394.                         Else
  1395. 14302                     If s65532 = "7" Then
  1396.                             Print "New Health units: ";
  1397.                             Input t28_4525.i94
  1398.                             If t28_4525.i94 > t28_4525.i96 Then
  1399.                               t28_4525.i94 = t28_4525.i96
  1400.                             End If
  1401. 14383                     Else
  1402. 14389                       If s65532 = "8" Then
  1403.                               Print "New Maximum Health units: ";
  1404.                               Input t28_4525.i96
  1405.                               t28_4525.i94 = t28_4525.i96
  1406.                             Else
  1407. 14450                         If s65532 = "9" Then
  1408.                                 Print "New Charisma Rating: ";
  1409.                                 Input t28_4525.i58
  1410.                               Else
  1411. 14493                           If s65532 = "10" Then
  1412.                                   Print "New Amount of Strength: ";
  1413.                                   Input t28_4525.i60
  1414.                                 Else
  1415. 14536                             If s65532 = "11" Then
  1416.                                     Print "Current Level (1 to 15): ";
  1417.                                     Input t28_4525.b106
  1418.                                   Else
  1419. 14579                               If s65532 = "12" Then
  1420.                                       Cls 
  1421.                                       Print
  1422.                                       Print s5892; "@0D@1.@07@ Optic Blast"
  1423.                                       Print s5892; "@0D@2.@07@ Super Strength/Flying"
  1424.                                       Print s5892; "@0D@3.@07@ Fire Power"
  1425.                                       Print s5892; "@0D@4.@07@ Psychic Powers"
  1426.                                       Print s5892; "@0D@5.@07@ Elemental Powers"
  1427.                                       Print s5892; "@0D@6.@07@ Shape Shifter"
  1428.                                       Print s5892; "@0D@7.@07@ Energy Waves"
  1429.                                       Print s5892; "@0D@8.@07@ Cold Power"
  1430.                                       Print
  1431.                                       Print s5892; "> ";
  1432.                                       Do
  1433. 14738                                   s5884 = UCase(InKey(1213417543))
  1434.                                       Loop Until InStr("12345678", s5884) > 0
  1435.                                       t28_4525.b109 = Val(s5884)
  1436.                                       If t28_4525.b109 = 1 Then
  1437.                                         t28_4525.s110 = "Optic Blast"
  1438.                                       Else
  1439. 14830                                   If t28_4525.b109 = 2 Then
  1440.                                           t28_4525.s110 = "Strength/Flying"
  1441.                                         Else
  1442. 14870                                     If t28_4525.b109 = 3 Then
  1443.                                             t28_4525.s110 = "Cold Power"
  1444.                                           Else
  1445. 14910                                       If t28_4525.b109 = 4 Then
  1446.                                               t28_4525.s110 = "Psychic"
  1447.                                             Else
  1448. 14950                                         If t28_4525.b109 = 5 Then
  1449.                                                 t28_4525.s110 = "Elemental"
  1450.                                               Else
  1451. 14990                                           If t28_4525.b109 = 6 Then
  1452.                                                   t28_4525.s110 = "Shape Shifter"
  1453.                                                 Else
  1454. 15030                                             If t28_4525.b109 = 7 Then
  1455.                                                     t28_4525.s110 = "Energy Waves"
  1456.                                                   Else
  1457. 15070                                               If t28_4525.b109 = 8 Then
  1458.                                                       t28_4525.s110 = "Cold Power"
  1459.                                                     End If
  1460.                                                   End If
  1461.                                                 End If
  1462.                                               End If
  1463.                                             End If
  1464.                                           End If
  1465.                                         End If
  1466.                                       End If
  1467. 15104                               Else
  1468. 15110                                 If s65532 = "13" Then
  1469.                                         Print s5892; "Maximum # of Mutant Power Turns: ";
  1470.                                         Input t28_4525.b125
  1471.                                         If t28_4525.b125 < 0 Then
  1472.                                           t28_4525.b125 = 2
  1473.                                         End If
  1474. 15182                                 Else
  1475. 15188                                   If s65532 = "14" Then
  1476.                                           Print s5892; "Number of Mutant Power Turns Left: ";
  1477.                                           Input t28_4525.b126
  1478.                                           If t28_4525.b126 > t28_4525.b125 Then
  1479.                                             t28_4525.b126 = t28_4525.b125
  1480.                                           Else
  1481. 15281                                       If t28_4525.b126 < 0 Then
  1482.                                               t28_4525.b126 = t28_4525.b125
  1483.                                             End If
  1484.                                           End If
  1485. 15317                                   Else
  1486. 15323                                     If s65532 = "15" Then
  1487.                                             Print s5892; "Enter # for GOOD or -# for EVIL alignment: ";
  1488.                                             Input t28_4525.i107
  1489.                                           Else
  1490. 15372                                       If s65532 = "19" Then
  1491.                                               Print s5892; "Player last played how many days ago: ";
  1492.                                               Input t28_4525.b258
  1493.                                             Else
  1494. 15422                                         If s65532 = "20" Then
  1495.                                                 If t28_4525.o246 = 0 Then
  1496.                                                   t28_4525.o246 = - 1
  1497.                                                 Else
  1498. 15476                                             t28_4525.o246 = 0
  1499.                                                 End If
  1500. 15486                                         Else
  1501. 15492                                           If s65532 = "21" Then
  1502.                                                   Print "Number of Player Fights left: ";
  1503.                                                   Input t28_4525.b127
  1504.                                                   If t28_4525.b127 > b5800 Then
  1505.                                                     t28_4525.b127 = b5800
  1506.                                                   End If
  1507. 15565                                           Else
  1508. 15571                                             If s65532 = "22" Then
  1509.                                                     Print "Number of Street Fights left: ";
  1510.                                                     Input t28_4525.b128
  1511.                                                     If t28_4525.b128 > b5799 Then
  1512.                                                       t28_4525.b128 = b5799
  1513.                                                     End If
  1514. 15644                                             Else
  1515. 15650                                               If s65532 = "23" Then
  1516.                                                       If UCase(t28_4525.s129) = "Y" Then
  1517.                                                         t28_4525.s129 = "N"
  1518.                                                         t28_4525.i94 = t28_4525.i96
  1519.                                                       Else
  1520. 15732                                                   If UCase(t28_4525.s129) = "N" Then
  1521.                                                           t28_4525.s129 = "Y"
  1522.                                                         End If
  1523.                                                       End If
  1524. 15773                                               Else
  1525. 15779                                                 If s65532 = "24" Then
  1526.                                                         Print s5892; "Enter hunger level of player:";
  1527.                                                         Input t28_4525.b256
  1528.                                                       Else
  1529. 15829                                                   If s65532 = "25" Then
  1530.                                                           Print s5892; "Make which obstacle event the current one (1 - 5): ";
  1531.                                                           Input t28_4525.b259
  1532.                                                         Else
  1533. 15879                                                     If s65532 = "26" Then
  1534.                                                             Print s5892; "Number of games player has completed: ";
  1535.                                                             Input t28_4525.b230
  1536.                                                           Else
  1537. 15928                                                       If s65532 = "27" Then
  1538.                                                               Do
  1539. 15945                                                           Cls 
  1540.                                                                 MorePrompt(0)
  1541.                                                                 Print
  1542.                                                                 Print s5892; "@0D@FLAG SETTINGS"
  1543.                                                                 Print
  1544.                                                                 Print s5892; "@07@[@0F@1@07@] Already On:@0F@ "; t28_4525.o241
  1545.                                                                 Print s5892; "@07@[@0F@2@07@] In HQ     :@0F@ "; t28_4525.o242
  1546.                                                                 Print s5892; "@07@[@0F@3@07@] In Hotel  :@0F@ "; t28_4525.o253
  1547.                                                                 Print s5892; "@07@[@0F@Q@07@] Quit"
  1548.                                                                 Print
  1549.                                                                 Print s5892; "> ";
  1550.                                                                 Do
  1551. 16082                                                             s5884 = UCase(InKey(1213417543))
  1552.                                                                 Loop Until InStr("123Q", s5884) > 0
  1553.                                                                 Print s5884
  1554.                                                                 Delay 0.1
  1555.                                                                 Print
  1556.                                                                 s65528 = s5884
  1557.                                                                 If s65528 = "1" Then
  1558.                                                                   If t28_4525.o241 = 0 Then
  1559.                                                                     t28_4525.o241 = - 1
  1560.                                                                   Else
  1561. 16198                                                               t28_4525.o241 = 0
  1562.                                                                   End If
  1563. 16208                                                           Else
  1564. 16214                                                             If s65528 = "2" Then
  1565.                                                                     If t28_4525.o242 = 0 Then
  1566.                                                                       t28_4525.o242 = - 1
  1567.                                                                       If t28_4525.o242 = - 1 And t28_4525.o253 = - 1 Then
  1568.                                                                         t28_4525.o242 = 0
  1569.                                                                       End If
  1570. 16310                                                               Else
  1571. 16316                                                                 t28_4525.o242 = 0
  1572.                                                                     End If
  1573. 16326                                                             Else
  1574. 16332                                                               If s65528 = "3" Then
  1575.                                                                       If t28_4525.o253 = 0 Then
  1576.                                                                         t28_4525.o253 = - 1
  1577.                                                                         Dec b5867
  1578.                                                                         If t28_4525.o253 = - 1 And t28_4525.o242 = - 1 Then
  1579.                                                                           t28_4525.o253 = 0
  1580.                                                                           Inc b5867
  1581.                                                                         End If
  1582. 16440                                                                 Else
  1583. 16446                                                                   t28_4525.o253 = 0
  1584.                                                                         Inc b5867
  1585.                                                                       End If
  1586. 16462                                                                 Sub2492
  1587.                                                                     Else
  1588. 16474                                                                 If s65528 = "Q" Then
  1589.                                                                         GoTo 16509
  1590.                                                                         GoTo 16503
  1591.                                                                       End If
  1592.                                                                     End If
  1593.                                                                   End If
  1594.                                                                 End If
  1595. 16503                                                         Loop
  1596. 16509                                                       Else
  1597. 16515                                                         If s65532 = "28" Then
  1598.                                                                 Print s5892; "Number of Extra Skills Turns Left: ";
  1599.                                                                 Input t28_4525.b231
  1600.                                                                 If t28_4525.b231 > t28_4525.b232 Then
  1601.                                                                   t28_4525.b231 = 0
  1602.                                                                 End If
  1603. 16594                                                         Else
  1604. 16600                                                           If s65532 = "29" Then
  1605.                                                                   Print s5892; "Maximum Number of Extra Skills: ";
  1606.                                                                   Input t28_4525.b232
  1607.                                                                 Else
  1608. 16649                                                             If s65532 = "30" Then
  1609.                                                                     Do
  1610. 16666                                                                 Cls 
  1611.                                                                       Print
  1612.                                                                       Print s5892; "@0F@INVENTORY ITEMS"
  1613.                                                                       Print
  1614.                                                                       Print
  1615.                                                                       Print s5892; "@07@[@0D@A@07@] Proton Packs :@0F@ "; t28_4525.t29_310.i0
  1616.                                                                       Print s5892; "@07@[@0D@B@07@] Nitro Packs  :@0F@ "; t28_4525.t29_310.i2
  1617.                                                                       Print s5892; "@07@[@0D@C@07@] Rocks        :@0F@ "; t28_4525.t29_310.i4
  1618.                                                                       Print s5892; "@07@[@0D@D@07@] Control Cards:@0F@ "; t28_4525.t29_310.i6
  1619.                                                                       Print s5892; "@07@[@0D@1@07@] Own Coat    :@0F@ "; t28_4525.o255
  1620.                                                                       Print s5892; "@07@[@0D@2@07@] Own ComLink :@0F@ "; t28_4525.o235
  1621.                                                                       Print s5892; "@07@[@0D@3@07@] MedKit I    :@0F@ "; t28_4525.b257
  1622.                                                                       Print s5892; "@07@[@0D@4@07@] MedKit II   :@0F@ "; t28_4525.b306
  1623.                                                                       Print
  1624.                                                                       Print s5892; "@0F@Q@07@uit"
  1625.                                                                       Do
  1626. 16933                                                                   s5884 = UCase(InKey(1213417543))
  1627.                                                                       Loop Until InStr("ABCD1234Q", s5884) > 0
  1628.                                                                       Print s5884
  1629.                                                                       Delay 0.1
  1630.                                                                       Print
  1631.                                                                       Print
  1632.                                                                       s65524 = s5884
  1633.                                                                       If s65524 = "Q" Then
  1634.                                                                         GoTo 17337
  1635.                                                                       Else
  1636. 17026                                                                   If s65524 = "1" Then
  1637.                                                                           If t28_4525.o255 = 0 Then
  1638.                                                                             t28_4525.o255 = - 1
  1639.                                                                           Else
  1640. 17080                                                                       t28_4525.o255 = 0
  1641.                                                                           End If
  1642. 17090                                                                   Else
  1643. 17096                                                                     If s65524 = "2" Then
  1644.                                                                             If t28_4525.o235 = - 1 Then
  1645.                                                                               t28_4525.o235 = 0
  1646.                                                                             Else
  1647. 17150                                                                         t28_4525.o235 = - 1
  1648.                                                                             End If
  1649. 17163                                                                     Else
  1650. 17169                                                                       If s65524 = "3" Then
  1651.                                                                               Print s5892; "Amount of Medical Kits I (5-Pack): ";
  1652.                                                                               Input t28_4525.b257
  1653.                                                                               If t28_4525.b257 > 250 Then
  1654.                                                                                 t28_4525.b257 = 0
  1655.                                                                               End If
  1656. 17244                                                                       Else
  1657. 17250                                                                         If s65524 = "4" Then
  1658.                                                                                 Print s5892; "Amount of Medical Kits II (10-Pack): ";
  1659.                                                                                 Input t28_4525.b306
  1660.                                                                                 If t28_4525.b306 > 250 Then
  1661.                                                                                   t28_4525.b306 = 0
  1662.                                                                                 End If
  1663. 17325                                                                           GoTo 17331
  1664.                                                                               End If
  1665.                                                                             End If
  1666.                                                                           End If
  1667.                                                                         End If
  1668.                                                                       End If
  1669. 17331                                                               Loop
  1670. 17337                                                             Else
  1671. 17343                                                               If s65532 = "31" Then
  1672.                                                                       Do
  1673. 17360                                                                   Cls 
  1674.                                                                         Print
  1675.                                                                         Print s5892; "@0F@EDIT EXTRA SKILLS"
  1676.                                                                         Print
  1677.                                                                         Print s5892; "@0D@1.@07@ "; t28_4525.s130
  1678.                                                                         Print s5892; "@0D@2.@07@ "; t28_4525.s150
  1679.                                                                         Print s5892; "@0D@3.@07@ "; t28_4525.s170
  1680.                                                                         Print
  1681.                                                                         Print s5892; "@0F@Q@07@uit"
  1682.                                                                         Print s5892; "> ";
  1683.                                                                         Do
  1684. 17495                                                                     s5888 = UCase(InKey(1213417543))
  1685.                                                                         Loop Until InStr("123Q", s5888) > 0
  1686.                                                                         Print s5888
  1687.                                                                         Delay 0.1
  1688.                                                                         Print
  1689.                                                                         Print
  1690.                                                                         If s5888 = "Q" Then
  1691.                                                                           GoTo 18059
  1692.                                                                         End If
  1693. 17574                                                                   Print s5892; "@0D@1.@07@ Invisibility"
  1694.                                                                         Print s5892; "@0D@2.@07@ Speed"
  1695.                                                                         Print s5892; "@0D@3.@07@ Teleport"
  1696.                                                                         Print s5892; "@0D@4.@07@ Mega-Size"
  1697.                                                                         Print s5892; "@0D@5.@07@ Energy Shield"
  1698.                                                                         Print s5892; "@0D@6.@07@ Absorption"
  1699.                                                                         Print
  1700.                                                                         Print s5892; "> ";
  1701.                                                                         Do
  1702. 17681                                                                     s5884 = UCase(InKey(1213417543))
  1703.                                                                         Loop Until InStr("123456", s5884) > 0
  1704.                                                                         Print s5884
  1705.                                                                         Delay 0.1
  1706.                                                                         Print
  1707.                                                                         If s5884 = "1" Then
  1708.                                                                           Func20409(("Invisibility"), s5888)
  1709.                                                                         Else
  1710. 17789                                                                     If s5884 = "2" Then
  1711.                                                                             Func20409(("Speed"), s5888)
  1712.                                                                           Else
  1713. 17843                                                                       If s5884 = "3" Then
  1714.                                                                               Func20409(("Teleport"), s5888)
  1715.                                                                             Else
  1716. 17897                                                                         If s5884 = "4" Then
  1717.                                                                                 Func20409(("Mega-Size"), s5888)
  1718.                                                                               Else
  1719. 17951                                                                           If s5884 = "5" Then
  1720.                                                                                   Func20409(("Energy Shield"), s5888)
  1721.                                                                                 Else
  1722. 18005                                                                             If s5884 = "6" Then
  1723.                                                                                     Func20409(("Absorption"), s5888)
  1724.                                                                                   End If
  1725.                                                                                 End If
  1726.                                                                               End If
  1727.                                                                             End If
  1728.                                                                           End If
  1729.                                                                         End If
  1730. 18053                                                                 Loop
  1731. 18059                                                               Else
  1732. 18065                                                                 If s65532 = "F" Then
  1733.                                                                         Sub19441
  1734.                                                                         i5908 = i5908 + 1
  1735.                                                                         If i5908 > i5912 Then
  1736.                                                                           i5908 = i5908 - 1
  1737.                                                                         End If
  1738. 18134                                                                   Sub12922
  1739.                                                                       Else
  1740. 18146                                                                   If s65532 = "B" Then
  1741.                                                                           Sub19441
  1742.                                                                           i5908 = i5908 - 1
  1743.                                                                           If i5908 < 1 Then
  1744.                                                                             i5908 = 1
  1745.                                                                           End If
  1746. 18205                                                                     Sub12922
  1747.                                                                         Else
  1748. 18217                                                                     If s65532 = "N" Then
  1749.                                                                             t28_4525.b127 = b5800
  1750.                                                                             t28_4525.b128 = b5799
  1751.                                                                             t28_4525.i94 = t28_4525.i96
  1752.                                                                             t28_4525.b126 = t28_4525.b125
  1753.                                                                             t28_4525.s129 = "N"
  1754.                                                                             t28_4525.b221 = 0
  1755.                                                                             t28_4525.b222 = 0
  1756.                                                                             t28_4525.b223 = 0
  1757.                                                                             t28_4525.b224 = 0
  1758.                                                                             t28_4525.b225 = 0
  1759.                                                                             t28_4525.b226 = 0
  1760.                                                                             t28_4525.b227 = 0
  1761.                                                                             t28_4525.b234 = 0
  1762.                                                                             t28_4525.b237 = 0
  1763.                                                                             t28_4525.b238 = 0
  1764.                                                                             t28_4525.b239 = 0
  1765.                                                                             t28_4525.b248 = 0
  1766.                                                                             t28_4525.o241 = 0
  1767.                                                                             t28_4525.b228 = 0
  1768.                                                                             t28_4525.s233 = "H"
  1769.                                                                             t28_4525.b250 = 0
  1770.                                                                             t28_4525.o242 = 0
  1771.                                                                             t28_4525.b243 = 0
  1772.                                                                             t28_4525.b244 = 0
  1773.                                                                             t28_4525.b245 = 0
  1774.                                                                             t28_4525.o246 = 0
  1775.                                                                             t28_4525.b256 = 0
  1776.                                                                             t28_4525.b229 = 0
  1777.                                                                             t28_4525.o253 = 0
  1778.                                                                             t28_4525.b231 = t28_4525.b232
  1779.                                                                             t28_4525.b247 = 0
  1780.                                                                             t28_4525.b249 = 0
  1781.                                                                             Sub19441
  1782.                                                                           Else
  1783. 18609                                                                       If s65532 = "S" Then
  1784.                                                                               Sub19441
  1785.                                                                               Print "Enter PLAYERNAME to search for: ";
  1786.                                                                               Input s5914
  1787.                                                                               Open ProgPath + "players.dat" For Random As 1 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  1788. 18697                                                                         For i5908 = 1 To LOF(1) Step 1
  1789.                                                                                 Get 1, i5908, t28_4525 '! 346 bytes
  1790.                                                                                 If UCase(s5914) = UCase(t28_4525.s30) Then
  1791.                                                                                   i5910 = i5908
  1792.                                                                                   GoTo 18830
  1793.                                                                                 End If
  1794. 18807                                                                         Next
  1795. 18830                                                                         Close 1
  1796.                                                                               If UCase(s5914) <> UCase(t28_4525.s30) Then
  1797.                                                                                 Print "@0C@That player could not be found."
  1798.                                                                                 Delay 1.5
  1799.                                                                                 i5908 = 1
  1800.                                                                               End If
  1801. 18887                                                                       Else
  1802. 18893                                                                         If s65532 = "R" Then
  1803.                                                                                 Sub19441
  1804.                                                                                 Print "Enter REAL NAME of player to search for: ";
  1805.                                                                                 Input s5918
  1806.                                                                                 Open ProgPath + "players.dat" For Random As 1 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  1807.                                                                                 i5908 = 1
  1808. 18988                                                                           For i5908 = 1 To LOF(1) Step 1
  1809.                                                                                   Get 1, i5908, t28_4525 '! 346 bytes
  1810.                                                                                   If UCase(s5918) = UCase(t28_4525.s0) Then
  1811.                                                                                     i5910 = i5908
  1812.                                                                                     GoTo 19117
  1813.                                                                                   End If
  1814. 19094                                                                           Next
  1815. 19117                                                                           Close 1
  1816.                                                                                 If UCase(s5918) <> UCase(t28_4525.s0) Then
  1817.                                                                                   Print s5892; "That caller could not be found."
  1818.                                                                                   Delay 1.5
  1819.                                                                                   i5908 = 1
  1820.                                                                                 End If
  1821. 19176                                                                         Else
  1822. 19182                                                                           If s65532 = "D" Then
  1823.                                                                                   Print s5892; "@0C@DELETE THIS PLAYER FROM THE GAME?  (Y/N) ";
  1824.                                                                                   Do
  1825. 19214                                                                               s5884 = UCase(InKey(1213417543))
  1826.                                                                                   Loop Until InStr("YN", s5884) > 0
  1827.                                                                                   Print s5884
  1828.                                                                                   Delay 0.1
  1829.                                                                                   Print
  1830.                                                                                   If s5884 = "Y" Then
  1831.                                                                                     t28_4525.s0 = "DELETED"
  1832.                                                                                     t28_4525.s30 = "DELETED"
  1833.                                                                                     Sub19441
  1834.                                                                                     Print
  1835.                                                                                     Print s5892; "@07@The player has been deleted.  Make sure to use the Team Editor"
  1836.                                                                                     Print s5892; "and delete this player from any team that he/she may have joined."
  1837.                                                                                     Sub20010
  1838.                                                                                   End If
  1839. 19355                                                                           Else
  1840. 19361                                                                             If s65532 = "E" Then
  1841.                                                                                     Sub19441
  1842.                                                                                     GoTo 19402
  1843.                                                                                     GoTo 19396
  1844.                                                                                   End If
  1845.                                                                                 End If
  1846.                                                                               End If
  1847.                                                                             End If
  1848.                                                                           End If
  1849.                                                                         End If
  1850.                                                                       End If
  1851.                                                                     End If
  1852.                                                                   End If
  1853.                                                                 End If
  1854.                                                               End If
  1855.                                                             End If
  1856.                                                           End If
  1857.                                                         End If
  1858.                                                       End If
  1859.                                                     End If
  1860.                                                   End If
  1861.                                                 End If
  1862.                                               End If
  1863.                                             End If
  1864.                                           End If
  1865.                                         End If
  1866.                                       End If
  1867.                                     End If
  1868.                                   End If
  1869.                                 End If
  1870.                               End If
  1871.                             End If
  1872.                           End If
  1873.                         End If
  1874.                       End If
  1875.                     End If
  1876.                   End If
  1877.                 End If
  1878.               End If
  1879.             End If
  1880. 19396     Loop
  1881.         End If
  1882. 19402
  1883.       End Sub
  1884.  
  1885. '! Called 7 times
  1886.       Sub Sub19441
  1887.         Open ProgPath + "players.dat" For Random As 1 Len = 346 '! This value should probably be replaced with a "SizeOf" expression
  1888.         Put 1, i5910, t28_4525 '! 346 bytes
  1889.         Close 1
  1890.       End Sub
  1891.  
  1892. '! Called 2 times
  1893.       Sub Sub19500
  1894.         If Exists(ProgPath + "mutants.cfg") = -1 Then
  1895.           Open ProgPath + "mutants.cfg" For Input As 3
  1896.           Input #3, s5795
  1897.           Input #3, b5799
  1898.           Input #3, b5800
  1899.           Input #3, i5801
  1900.           Input #3, b5803
  1901.           Input #3, s5804
  1902.           Input #3, s5808
  1903.           Input #3, b5812
  1904.           Input #3, s4497
  1905.           Input #3, s4501
  1906.           Input #3, s4505
  1907.           Input #3, s4509
  1908.           Input #3, s4513
  1909.           Input #3, s4517
  1910.           Input #3, s4521
  1911.           Close 3
  1912.         Else
  1913. 19679     s5795 = "000000"
  1914.           b5799 = 15
  1915.           b5800 = 3
  1916.           i5801 = 2500
  1917.           b5803 = 15
  1918.           s5804 = "Scott Bradbury"
  1919.           s5808 = MakeWild.SysopName
  1920.           b5812 = 15
  1921.           s4497 = s4497
  1922.           s4501 = "ROSTER.BBS"
  1923.           s4505 = "EXPERT.BBS"
  1924.           s4509 = "CHARISMA.BBS"
  1925.           s4513 = "TEAMLIST.BBS"
  1926.           s4517 = "ELITE.BBS"
  1927.           s4521 = "CLASSES.BBS"
  1928.           o5813 = 0
  1929.         End If
  1930. 19815
  1931.       End Sub
  1932.  
  1933. '! Called 1 time
  1934.       Sub Sub19818
  1935.         Open ProgPath + "mutants.cfg" For Output As 3
  1936.         Print #3, s5795
  1937.         Print #3, b5799
  1938.         Print #3, b5800
  1939.         Print #3, i5801
  1940.         Print #3, b5803
  1941.         Print #3, s5804
  1942.         Print #3, s5808
  1943.         Print #3, b5812
  1944.         Print #3, s4497
  1945.         Print #3, s4501
  1946.         Print #3, s4505
  1947.         Print #3, s4509
  1948.         Print #3, s4513
  1949.         Print #3, s4517
  1950.         Print #3, s4521
  1951.         Print #3, o5813
  1952.         Close 3
  1953.       End Sub
  1954.  
  1955. '! Called 11 times
  1956.       Sub Sub20010
  1957.         Dim b65535 As Byte
  1958.  
  1959.         Print
  1960.         Print Tab(1); "@08@-Any Key-";
  1961. 20038   Do While InKey(1213417543) = ""
  1962.         Loop
  1963. 20065   b65535 = CsrLin
  1964.         Locate b65535, 1
  1965.         ClrEOL 
  1966.       End Sub
  1967.  
  1968. '! Called 1 time
  1969.       Function Func20089(s65534 As String) As String
  1970.         If s65534 = "0" Then
  1971.           s5862 = "Extremely Cold"
  1972.         Else
  1973. 20132     If s65534 = "1" Then
  1974.             s5862 = "Cold"
  1975.           Else
  1976. 20166       If s65534 = "2" Then
  1977.               s5862 = "Cool and Mild"
  1978.             Else
  1979. 20200         If s65534 = "3" Then
  1980.                 s5862 = "Windy"
  1981.               Else
  1982. 20234           If s65534 = "4" Then
  1983.                   s5862 = "Rain and Thunderstorms"
  1984.                 Else
  1985. 20268             If s65534 = "5" Then
  1986.                     s5862 = "Mild"
  1987.                   Else
  1988. 20302               If s65534 = "6" Then
  1989.                       s5862 = "Sunny & Clear"
  1990.                     Else
  1991. 20336                 If s65534 = "7" Then
  1992.                         s5862 = "Hot"
  1993.                       Else
  1994. 20370                   If s65534 = "8" Then
  1995.                           s5862 = "Hot and Humid"
  1996.                         End If
  1997.                       End If
  1998.                     End If
  1999.                   End If
  2000.                 End If
  2001.               End If
  2002.             End If
  2003.           End If
  2004.         End If
  2005. 20398
  2006.       End Function
  2007.  
  2008. '! Called 6 times
  2009.       Function Func20409(s65534 As String, s65532 As String) As Boolean
  2010.         If s65532 = "1" Then
  2011.           t28_4525.s130 = s65534
  2012.         Else
  2013. 20459     If s65532 = "2" Then
  2014.             t28_4525.s150 = s65534
  2015.           Else
  2016. 20500       If s65532 = "3" Then
  2017.               t28_4525.s170 = s65534
  2018.             End If
  2019.           End If
  2020.         End If
  2021. 20535
  2022.       End Function
  2023.  
  2024. '! Called 1 time
  2025.       Sub Sub20543
  2026.         Open ProgPath + "teamfile.dat" For Random As 1 Len = 163 '! This value should probably be replaced with a "SizeOf" expression
  2027.         Get 1, b5907, t26_5398 '! 163 bytes
  2028.         Close 1
  2029.       End Sub
  2030.  
  2031. '! Called 13 times
  2032.       Sub Sub20600
  2033.         Open ProgPath + "teamfile.dat" For Random As 1 Len = 163 '! This value should probably be replaced with a "SizeOf" expression
  2034.         Put 1, b5907, t26_5398 '! 163 bytes
  2035.         Close 1
  2036.       End Sub
  2037.